/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package commands;
import IA.*;
/**
 *
 * @author Jeremy
 */
public class CmdClearTable extends Command {

    private int _TableID;
    
    public CmdClearTable(InformationAggregator ia, int TableID) {
        super(ia);
        _TableID = TableID;
    }

    @Override
    public Object execute() {
        ia.getTableCollection().getTable(_TableID).setIsAvailable(true);
        return null;
    }
    
}
